package com.five.zhh.fiveinfive.room.message.operate;

import com.five.zhh.fiveinfive.room.message.OperateTittle;
import com.five.zhh.fiveinfive.room.message.UserOperate;
import com.five.zhh.fiveinfive.room.user.UserInfo;
import lombok.Data;

/**
 * <p>
 * 描述
 * </p>
 *
 * @author 粥灰灰
 * <p>2025/1/21</p>
 */
@Data
public class PlayChessOperate extends UserOperate {

    private UserInfo userInfo;

    /**
     * 棋子落点
     */
    private int x;

    /**
     * 棋子落点
     */
    private int y;

    /**
     * 1：黑棋
     * 2：白棋
     */
    private int color;

    public PlayChessOperate() {
        super(OperateTittle.PLAY_CHESS);
    }

}
